package test;

public class cat extends Animal{

    public cat() {
    }

    public cat(int age, String color) {
        super(age, color);
    }

    @Override
    public  void eat(String something){
        System.out.println(getAge()+"岁的"+getColor()+"颜色的猫"+"眯着眼睛侧着头吃"+something);

    }

    public static void catchMouch(){
        System.out.println("抓老鼠");
    }

}
